import {forwardRef, Global, Module} from '@nestjs/common';
import {TypeOrmModule} from "@nestjs/typeorm";
import {CompanyController} from "@/modules/company/company.controller";
import {CompanyService} from "@/modules/company/service/company.service";
import {Company} from "@/entitys/base/company.entity";

@Module({
    imports: [TypeOrmModule.forFeature([Company])],
    controllers: [CompanyController],
    providers: [CompanyService],
    exports: [CompanyService]
})
export class CompanyModule {}
